package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.BoxTakePoolConvertScenarioEnum;
import com.sc.nft.enums.GasConsumeTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 盲盒抽奖池(sc_box_take_pool)实体类
 *
 * @author 张翔宇
 * @description 盲盒抽奖池
 * @since 2023-04-03 18:03:44
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_box_take_pool")
public class BoxTakePool extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌id
     */
    private Long daoId;

    /**
     * 兑换场景
     */
    private BoxTakePoolConvertScenarioEnum convertScenario;

    /**
     * 盲盒商品Id
     */
    private Long productBoxId;

    /**
     * 虚拟道具Id
     */
    @Deprecated
    private Long propsId;

    /**
     * 虚拟道具名称
     */
    @Deprecated
    private String propsName;

    /**
     * 消耗数量
     */
    @Deprecated
    private Integer costQuantity;

    /**
     * 类型: 1 盲盒 2: 藏品
     */
    private Integer type;

    /**
     * 状态
     */
    private Boolean status;

    /**
     * 排序
     */
    private Integer ranking;


    /**
     * 兑换上限
     */
    private Integer upperLimit;
    
    /**
     * 是否配置上链费
     */
    private Boolean gasConf;
    
    /**
     * 消耗类型
     */
    private GasConsumeTypeEnum consumeType;
    
    /**
     * 消耗额度
     */
    private BigDecimal consumeCost;

}
